home *** CD-ROM | disk | FTP | other *** search
- Path: sdd.hp.com!usc!usc!not-for-mail
- From: haiz@crucis.usc.edu (Hai Zhang)
- Newsgroups: comp.lang.c
- Subject: Invoke a outside utility from c program in MS-Window environments
- Date: 19 Mar 1996 15:15:47 -0800
- Organization: University of Southern California, Los Angeles, CA
- Sender: haiz@crucis.usc.edu
- Distribution: world
- Message-ID: <4inf73$lh@crucis.usc.edu>
- NNTP-Posting-Host: crucis.usc.edu
-
- Hi,
-
- I am new to program in MS-Window and have following question:
-
- I try to write a c application in MS-Windows environment. In one
- procedure I want user input a file name and compress the corresponding
- file. I want to use pkzip to do the real job. My question is whether
- it is possible to invoke a outside utility such as pkzip in MS-Windows.
- In unix I could use system() function or even execl or execv().
-
- I do not want to buy a separate library package from pkware, since I
- will only use small part of the compressing utility.
-
-
- Thanks
-
- Bing Zhang
- Dept. of Mechanical Engineering
- University of Southern California
-